package com.qd.common.panda.domain.entity.wallet.user;

import com.cdqidi.util.page.BaseQuery;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 用户钱包消费统计
 *
 * @author sjk
 */
@EqualsAndHashCode(callSuper = true)
@Getter
@Setter
public class UserWalletConsumptionLogStatisticsDTO extends BaseQuery {
    /**
     * 消费金额,单位元
     */
    private BigDecimal consumptionAmount;
    /**
     * 钱包支付金额,单位元
     */
    private BigDecimal walletAmount;
    /**
     * 钱包赠送支付金额,单位元
     */
    private BigDecimal walletGiveAmount;
    /**
     * 数量
     */
    private Long quantity;

    @Override
    public void freeData() {
        this.consumptionAmount = null;
        this.walletAmount = null;
        this.walletGiveAmount = null;
        this.quantity = null;
        super.freeData();
    }
}
